package com.nxy.cpfsfe.enumtype;

public enum StatEnum {
	//业务状态
	BIZSTA_SUC("00","交易成功"),
	BIZSTA_FAIL("01","交易失败"),
	BIZSTA_ING("02","交易处理中"),
	BIZSTA_INIT("03","已登记"),
	//NCS返回状态
	STAR_PR00("PR00","已清算"),
	STAR_PR01("PR01","已拒绝"),
	STAR_PR02("PR02","已成功"),
	STAR_PR03("PR03","已接收"),
	STAR_PR04("PR04","已确认"),
	STAR_PR05("PR05","已付款"),
	STAR_PR06("PR06","已冲正"),
	STAR_PR07("PR07","已排队"),
	STAR_PR08("PR08","已撤销"),
	STAR_PR09("PR09","已存款冲销"),
	STAR_PR10("PR10","已补正"),
	STAR_PR11("PR11","已消费撤销"),
	STAR_PR12("PR12","已完成撤销"),
	STAR_PR13("PR13","待确认"),
	STAR_PR14("PR14","排队已撤销"),
	STAR_PR15("PR15","已退货"),
	STAR_PR16("PR16"," 已充值撤销"),
	STAR_PR17("PR17"," 已预授权撤销"),
	STAR_PR18("PR18","已冻结"),
	STAR_PR19("PR19","已解冻"),
	STAR_PR20("PR20","延时转账"),
	STAR_PR21("PR21","已失效"),
	STAR_PR22("PR22","清算中"),
	
	
	//TbSelfmntn补发表的状态
	REPFlG_WAIT("0","待补发"),
	REPFLG_DONE("1","已补发"),
	
	REP_TMS("5","补发次数"),
	
	//对账状态
	CHKASTA_NOT_START("0","未对账"),
	CHKASTA_CONSISTENT("1","一致"),
	CHKASTA_NOT_CONSISTENT("2","不一致已平"),
	CHKASTA_CPFS_LESS("3","前置少"),
	
    //操作类型
	LOGINOPRTP_OT0("OT00","登录"),
	LOGINOPRTP_OT1("OT01","退出"),
	//数字证书变更类型
	CHANGETYPE_CC00("CC00","新增"),
	CHANGETYPE_CC02("CC02","撤销"),
	
	//是否检查权限
	PERMISSION_CHECK_Y("1","检查权限"),
	PERMISSION_CHECK_N("0","不检查权限"),
	//是否开通权限
	OPEN_PERMISSION_Y("1","权限已开通"),
	OPEN_PERMISSION_N("0","权限未开通"),

	//NCS状态
	NCS_DAY_CHG_STA("ST01","日切开始"),
	NCS_DAY_CHG_FIN("ST02","日切结束"),
	NCS_801_STOP("ST00","NCS停用"),
	NCS_809_STOP("NS00","NCS停用"),
	NCS_START("NS01","NCS启用"),
	//支付次数
	PAY_TIMES_ONE("1","支付一次"),
	PAY_TIMES_TWO("2","支付两次"),
	PAY_TIMES_THR("3","支付三次");

	private String name;
	private String code;
	
	StatEnum(String code,String name){
		this.code = code;
		this.name = name;
	}
	

	public String getCode() {
		return code;
	}

	public String getName() {
		return name;
	}

}
